<template>
  <div id="app">
    <router-view/>
    <FooterGuide v-show="$route.meta.showFooter"/>
  </div>
</template>

<script>
  import FooterGuide from './components/FooterGuide/FooterGuide'

  export default {
    name: 'App',
    components: {
      FooterGuide
    },
    methods: {
      async getData () {
        let res = await this.$axios.get(`api/index_category`)
        console.log(res)
      }
    },
    mounted () {
      this.getData()
    }
  }
</script>

<style lang="stylus">
  #app
    width 100%
    height 100%
    background #f5f5f5
</style>
